-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Integration Tests for User Sharing API #23420
Closed
BimsaraBodaragama
wants to merge
41
commits into
wso2:master
from
BimsaraBodaragama:integration-tests/user-sharing-2-recover
Closed
Add Integration Tests for User Sharing API #23420
BimsaraBodaragama
wants to merge
41
commits into
wso2:master
from
BimsaraBodaragama:integration-tests/user-sharing-2-recover
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…and users - refine method names.
merge master - idn.org.mgt-version-bump.
…ut in given intervals and proceed.
The changes originally intended in this PR will now be tracked in a different PR: #23423 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces comprehensive integration tests for the User Sharing API, ensuring correctness in user sharing, unsharing, and verification through a successful GET request for a user's shared organizations and assigned shared roles to a shared user in a given organization. These tests validate request handling, response accuracy, and expected behavior across various valid and invalid scenarios, ensuring API reliability in standard usage.
Test Coverage:
✅ Successful Scenarios
SELECTED_ORG_ONLY
SELECTED_ORG_WITH_ALL_EXISTING_CHILDREN_ONLY
SELECTED_ORG_WITH_ALL_EXISTING_AND_FUTURE_CHILDREN
SELECTED_ORG_WITH_EXISTING_IMMEDIATE_CHILDREN_ONLY
SELECTED_ORG_WITH_EXISTING_IMMEDIATE_AND_FUTURE_CHILDREN
ALL_EXISTING_ORGS_ONLY
ALL_EXISTING_AND_FUTURE_ORGS
IMMEDIATE_EXISTING_ORGS_ONLY
IMMEDIATE_EXISTING_AND_FUTURE_ORGS
❌ Failure Scenarios
Related Issue
Add Integration Tests for User Sharing API #23328